package com.ruoyi.service;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.ruoyi.domain.Asset;


import java.util.List;
import java.util.Map;

public interface AssetService {


    //得到所有的资产
    Map<String, Object> selectAllAsset(int page, int limit);

    void addAsset(Asset asset);

    Asset selectAssetByAssetNo(String assetNo);

    void updateAsset(Asset asset);

    void deleteAssetByAssetNo(String assetNo);


    Map<String, Object> selectAsset(int page, int limit, String assetNo, String assetName, String responsibilityDepartmentName, String period);
}
